/* the styles for the elements */
@media only screen and (min-width: 405px) and (max-width: 2000px){
	

body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
	border: solid black;
    margin: 45px;
	width: 70%;
	
	margin-right: auto;
	margin-left: auto;
	background-color: #d8f0f5;
	
}
}

/*reset selector*/
* {
	margin: 0;
	padding: 0;
}

html{
	background-color: white;
	
}


/* the styles for the header */

header h2 {
	color: white;
	text-align: center;
	font: 4em dosis;
	background-image: linear-gradient(30deg,#bc09c7 0%, #9b05a4 10%, black 50%, #9b05a4 86%, #bc09c7 100%);
	
}
header h3 {
	color: green;
	text-align: center;
	border-bottom: 3px solid black;
}
/* Menu styling */

#nav_menu ul { list-style-type: none;
	
}
#nav_menu {
	list-style: none;
	position: relative;	
}
#nav_menu ul li {float: left;
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	width: 20.72em; /* 20.72em to fit whole screen mode*/
	padding: 1em 0;
	background-color: #9b05a4;
	color: white;
	font-weight: bold;
	border-right: 2px solid white;
}
#nav_menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
}
#nav_menu ul ul li { float: none;
}
#nav_menu ul li:hover > ul {
	display: block;
}
#nav_menu > ul::after {
	content: "";
	display: block;
	clear: both;
}
#nav_menu ul li a.lastitem {border-right: none;}



header img {
	display: block;
	margin-right: auto;
	margin-left: auto;
	border: 5px double blue;
	color: blue;
	font-weight: bolder;
	box-shadow: 0px 0px 8px 3px purple;
	margin-top: 20px;
	margin-bottom: 20px;	
}

header h5 {
	color: teal;
	margin-left: 460px;
}


/* the styles for the main content */
main {
	clear: left;
}

main img {
	max-width: 50%;
	display: block;
	margin-right: auto;
	margin-left: 2%;
	border: 5px double yellow;
	
	font-weight: bolder;
	box-shadow: 0px 0px 8px 3px purple;
	margin-top: 20px;
	margin-bottom: 20px;
}

main ul {
	margin: 5%;
}
main h1 {
	font-size: 100%;
	margin: 1%;
}
main h2 {
	font-size: 150%;
	padding: 10px;
	width: 300px;
	border: 5px double blue;
	color: blue;

	font-weight: bolder;
	border-radius: 10px 20px 0 20px;
	box-shadow: 3px 3px 4px 4px purple;
	margin-top: 20px;
	margin-bottom: 20px;
	margin: 2%;
}
main h3 {
	font-size: 130%;
	margin-left: 30px;
	
}

/* the styles for the footer */

footer p {
	text-align: center;

}


